package com.zjmzxfzhl.modules.app.service.impl;

import com.zjmzxfzhl.modules.app.form.AppTermVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.common.core.base.BaseServiceImpl;
import com.zjmzxfzhl.modules.app.entity.AppTerm;
import com.zjmzxfzhl.modules.app.mapper.AppTermMapper;
import com.zjmzxfzhl.modules.app.service.AppTermService;

import java.util.List;

/**
 * Service
 * 
 * @author 张森荣
 */
@Service
public class AppTermServiceImpl extends BaseServiceImpl<AppTermMapper, AppTerm>
        implements AppTermService {
    @Override
    public IPage<AppTerm> list(IPage<AppTerm> page, AppTermVo appTerm) {
        return page.setRecords(baseMapper.list(page, appTerm));
    }

    @Override
    public List<AppTerm> getList(IPage<AppTerm> page, AppTermVo appTerm) {
        return baseMapper.list(page, appTerm);
    }
}
